package com.att.bean;

import com.adkfp.bean.BaseBean;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class AccessLogBean extends BaseBean {
    private Integer id;//主键id
    private Integer messageID;//事件类型ID
    private Integer netGroupID;//归属组织机构ID
    private Integer subPointID;//节点ID
    private Integer ctrlAddr;//控制器点ID
    private Integer doorAddr;//门地址
    private Integer cardID;//卡号
    private String deptID;//部门ID
    private String eventTime;//刷卡事件时间
    private String userID;//刷卡人员ID
    private String userName;//刷卡人员姓名
    private Integer eventSource;//事件来源

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;//开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;//结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date checkTime;//结束时间
    private String depName;
    private String cardSN;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date checkInTime1;//开始签到时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date checkInTime2;//结束签到时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date checkOutTime1;//开始签退时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date checkOutTime2;//结束签退时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date runStartTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date runEndTime;

    private Integer checkType;//类型
    private Integer isType;
    private Integer stationType;//在岗类型

    private String startTimeStr;
    private String endTimeStr;
    private String dayTime;
    private String timeSum;
    private String tims;
    private String depId;

    private Integer shouldArrive;//应到
    private Integer trueArrive;//实到
    private Integer lateArrive;//迟到
    private Integer leaveEarly;//早退
    private Integer absenteeism;//旷工
    private Integer workMins;//记多少分钟
    private Integer signIn;//签到
    private Integer signBack;//签退
    private Integer noSignIn;//未签退
    private Integer noSignBack;//未签退
    private Integer weekday;//平日
    private Integer weekend;//周末
    private Integer holiday;//节假日
    private double attendanceTime;//出勤时间
    private Long weekdayAddTime;//平日加班时间
    private Long weekendAddTime;//周末加班时间
    private Long holidayAddTime;//周末加班时间

    private Integer AutoID;
    private String name;
    private Integer cycle;
    private Integer units;
    private String schName;
    private String yuanYin;
    private Integer days;
    private Integer isAddWork;
    private Integer addWorkTime;
    private Long isOut;
    private Integer goOut;
    private Long leaveClass;
    private Long sickLeave;
    private Long thingLeave;
    private Long familyLeave;
    private String leaveName;
    private String userId;

    List<AccessLogTemp> list;

    private double workMinsToDou;//记多少分钟



    public String getSchName() {
        return schName;
    }

    public void setSchName(String schName) {
        this.schName = schName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCycle() {
        return cycle;
    }

    public void setCycle(Integer cycle) {
        this.cycle = cycle;
    }

    public Integer getUnits() {
        return units;
    }

    public void setUnits(Integer units) {
        this.units = units;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMessageID() {
        return messageID;
    }

    public void setMessageID(Integer messageID) {
        this.messageID = messageID;
    }

    public Integer getNetGroupID() {
        return netGroupID;
    }

    public void setNetGroupID(Integer netGroupID) {
        this.netGroupID = netGroupID;
    }

    public Integer getSubPointID() {
        return subPointID;
    }

    public void setSubPointID(Integer subPointID) {
        this.subPointID = subPointID;
    }

    public Integer getCtrlAddr() {
        return ctrlAddr;
    }

    public void setCtrlAddr(Integer ctrlAddr) {
        this.ctrlAddr = ctrlAddr;
    }

    public Integer getDoorAddr() {
        return doorAddr;
    }

    public void setDoorAddr(Integer doorAddr) {
        this.doorAddr = doorAddr;
    }

    public Integer getCardID() {
        return cardID;
    }

    public void setCardID(Integer cardID) {
        this.cardID = cardID;
    }

    public String getDeptID() {
        return deptID;
    }

    public void setDeptID(String deptID) {
        this.deptID = deptID;
    }

    public String getEventTime() {
        return eventTime;
    }

    public void setEventTime(String eventTime) {
        this.eventTime = eventTime;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getDepName() {
        return depName;
    }

    public void setDepName(String depName) {
        this.depName = depName;
    }

    public String getCardSN() {
        return cardSN;
    }

    public void setCardSN(String cardSN) {
        this.cardSN = cardSN;
    }

    public Date getCheckInTime1() {
        return checkInTime1;
    }

    public void setCheckInTime1(Date checkInTime1) {
        this.checkInTime1 = checkInTime1;
    }

    public Date getCheckInTime2() {
        return checkInTime2;
    }

    public void setCheckInTime2(Date checkInTime2) {
        this.checkInTime2 = checkInTime2;
    }

    public Date getCheckOutTime1() {
        return checkOutTime1;
    }

    public void setCheckOutTime1(Date checkOutTime1) {
        this.checkOutTime1 = checkOutTime1;
    }

    public Date getCheckOutTime2() {
        return checkOutTime2;
    }

    public void setCheckOutTime2(Date checkOutTime2) {
        this.checkOutTime2 = checkOutTime2;
    }

    public Integer getCheckType() {
        return checkType;
    }

    public void setCheckType(Integer checkType) {
        this.checkType = checkType;
    }

    public Integer getIsType() {
        return isType;
    }

    public void setIsType(Integer isType) {
        this.isType = isType;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public Integer getStationType() {
        return stationType;
    }

    public void setStationType(Integer stationType) {
        this.stationType = stationType;
    }

    public String getStartTimeStr() {
        return startTimeStr;
    }

    public void setStartTimeStr(String startTimeStr) {
        this.startTimeStr = startTimeStr;
    }

    public String getEndTimeStr() {
        return endTimeStr;
    }

    public void setEndTimeStr(String endTimeStr) {
        this.endTimeStr = endTimeStr;
    }

    public String getDayTime() {
        return dayTime;
    }

    public void setDayTime(String dayTime) {
        this.dayTime = dayTime;
    }

    public String getDepId() {
        return depId;
    }

    public void setDepId(String depId) {
        this.depId = depId;
    }

    public Date getRunStartTime() {
        return runStartTime;
    }

    public void setRunStartTime(Date runStartTime) {
        this.runStartTime = runStartTime;
    }

    public Date getRunEndTime() {
        return runEndTime;
    }

    public void setRunEndTime(Date runEndTime) {
        this.runEndTime = runEndTime;
    }

    public Integer getShouldArrive() {
        return shouldArrive;
    }

    public void setShouldArrive(Integer shouldArrive) {
        this.shouldArrive = shouldArrive;
    }

    public Integer getTrueArrive() {
        return trueArrive;
    }

    public void setTrueArrive(Integer trueArrive) {
        this.trueArrive = trueArrive;
    }

    public Integer getLateArrive() {
        return lateArrive;
    }

    public void setLateArrive(Integer lateArrive) {
        this.lateArrive = lateArrive;
    }

    public Integer getLeaveEarly() {
        return leaveEarly;
    }

    public void setLeaveEarly(Integer leaveEarly) {
        this.leaveEarly = leaveEarly;
    }

    public Integer getAbsenteeism() {
        return absenteeism;
    }

    public void setAbsenteeism(Integer absenteeism) {
        this.absenteeism = absenteeism;
    }

    public Integer getWorkMins() {
        return workMins;
    }

    public void setWorkMins(Integer workMins) {
        this.workMins = workMins;
    }

    public String getTimeSum() {
        return timeSum;
    }

    public void setTimeSum(String timeSum) {
        this.timeSum = timeSum;
    }

    public Integer getAutoID() {
        return AutoID;
    }

    public void setAutoID(Integer autoID) {
        AutoID = autoID;
    }

    public String getYuanYin() {
        return yuanYin;
    }

    public void setYuanYin(String yuanYin) {
        this.yuanYin = yuanYin;
    }

    public Integer getDays() {
        return days;
    }

    public void setDays(Integer days) {
        this.days = days;
    }

    public Integer getIsAddWork() {
        return isAddWork;
    }

    public void setIsAddWork(Integer isAddWork) {
        this.isAddWork = isAddWork;
    }

    public Integer getAddWorkTime() {
        return addWorkTime;
    }

    public void setAddWorkTime(Integer addWorkTime) {
        this.addWorkTime = addWorkTime;
    }

    public Long getIsOut() {
        return isOut;
    }

    public void setIsOut(Long isOut) {
        this.isOut = isOut;
    }

    public Integer getGoOut() {
        return goOut;
    }

    public void setGoOut(Integer goOut) {
        this.goOut = goOut;
    }

    public Long getLeaveClass() {
        return leaveClass;
    }

    public void setLeaveClass(Long leaveClass) {
        this.leaveClass = leaveClass;
    }

    public Long getSickLeave() {
        return sickLeave;
    }

    public void setSickLeave(Long sickLeave) {
        this.sickLeave = sickLeave;
    }

    public Long getThingLeave() {
        return thingLeave;
    }

    public void setThingLeave(Long thingLeave) {
        this.thingLeave = thingLeave;
    }

    public Long getFamilyLeave() {
        return familyLeave;
    }

    public void setFamilyLeave(Long familyLeave) {
        this.familyLeave = familyLeave;
    }

    public String getLeaveName() {
        return leaveName;
    }

    public void setLeaveName(String leaveName) {
        this.leaveName = leaveName;
    }

    public Integer getSignIn() {
        return signIn;
    }

    public void setSignIn(Integer signIn) {
        this.signIn = signIn;
    }

    public Integer getSignBack() {
        return signBack;
    }

    public void setSignBack(Integer signBack) {
        this.signBack = signBack;
    }

    public Integer getNoSignIn() {
        return noSignIn;
    }

    public void setNoSignIn(Integer noSignIn) {
        this.noSignIn = noSignIn;
    }

    public Integer getNoSignBack() {
        return noSignBack;
    }

    public void setNoSignBack(Integer noSignBack) {
        this.noSignBack = noSignBack;
    }

    public Integer getWeekday() {
        return weekday;
    }

    public void setWeekday(Integer weekday) {
        this.weekday = weekday;
    }

    public Integer getWeekend() {
        return weekend;
    }

    public void setWeekend(Integer weekend) {
        this.weekend = weekend;
    }

    public double getAttendanceTime() {
        return attendanceTime;
    }

    public void setAttendanceTime(double attendanceTime) {
        this.attendanceTime = attendanceTime;
    }

    public Integer getHoliday() {
        return holiday;
    }

    public void setHoliday(Integer holiday) {
        this.holiday = holiday;
    }

    public Long getWeekdayAddTime() {
        return weekdayAddTime;
    }

    public void setWeekdayAddTime(Long weekdayAddTime) {
        this.weekdayAddTime = weekdayAddTime;
    }

    public Long getWeekendAddTime() {
        return weekendAddTime;
    }

    public void setWeekendAddTime(Long weekendAddTime) {
        this.weekendAddTime = weekendAddTime;
    }

    public Long getHolidayAddTime() {
        return holidayAddTime;
    }

    public void setHolidayAddTime(Long holidayAddTime) {
        this.holidayAddTime = holidayAddTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getEventSource() {
        return eventSource;
    }

    public void setEventSource(Integer eventSource) {
        this.eventSource = eventSource;
    }

    public String getTims() {
        return tims;
    }

    public void setTims(String tims) {
        this.tims = tims;
    }

    public List<AccessLogTemp> getList() {
        return list;
    }

    public void setList(List<AccessLogTemp> list) {
        this.list = list;
    }

    public double getWorkMinsToDou() {
        return workMinsToDou;
    }

    public void setWorkMinsToDou(double workMinsToDou) {
        this.workMinsToDou = workMinsToDou;
    }
}
